package org.alex.samples.dao;

import java.util.List;
import java.util.Map;

import org.alex.samples.model.ExamScore;
import org.alex.samples.model.ExamScoreVO;

public interface IExamScoreDAO extends IBaseDAO<ExamScore>{
	
	public ExamScore getScore(String userId, Integer subId);
	
	public ExamScoreVO getScoreById(Integer scoreId);
	
	public List<ExamScoreVO> getAllScore(Map<String, String> conditionMap);
	
	public List<Integer> getSubjectByTest(String userId);
	
	public int editScore(String userId, Integer subId, Integer score);
	
	public List<ExamScore> findAllScore();
	
	public List<ExamScore> getScoreByUserId(String userId);
	
	public List<ExamScore> getScoreByUserName(String userName);
	
	public List<ExamScore> getScoreBySubjectNameName(String subjectName);
	
	public List<ExamScore> getScoreByTestDate(String testDateOne,String testDateTwo);

}
